package com.kawa.kemanage.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface NewsLikesMapper {

    /**
     * 取消喜欢
     * @param like_id
     * @return
     */
    int delectLike(@Param("like_id") Integer like_id);

    /**
     * 根据新闻id查看点赞数
     * @param content_id
     * @return
     */
    Long getLikeCount(@Param("content_id") Integer content_id);
}
